

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>OCC.ShapeCustom module &mdash; pythonocc API 0.18 documentation</title>
  

  
  
  
  

  

  
  
    

  

  
  
    <link rel="stylesheet" href="static/css/theme.css" type="text/css" />
  

  

  
        <link rel="index" title="Index"
              href="genindex.html"/>
        <link rel="search" title="Search" href="search.html"/>
    <link rel="top" title="pythonocc API 0.18 documentation" href="index.html"/> 

  
  <script src="static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="index.html" class="icon icon-home"> pythonocc API
          

          
          </a>

          
            
            
              <div class="version">
                0.18
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <!-- Local TOC -->
              <div class="local-toc"><ul>
<li><a class="reference internal" href="#">OCC.ShapeCustom module</a></li>
</ul>
</div>
            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">pythonocc API</a>
        
      </nav>


      
      <div class="wy-nav-content">
        <div class="rst-content">
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">Docs</a> &raquo;</li>
        
      <li>OCC.ShapeCustom module</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="sources/OCC.ShapeCustom.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="occ-shapecustom-module">
<h1>OCC.ShapeCustom module<a class="headerlink" href="#occ-shapecustom-module" title="Permalink to this headline">¶</a></h1>
<span class="target" id="module-OCC.ShapeCustom"></span><p>This package is intended toconvert geometrical objects and topological. Themodifications of one geometrical object to another(one) geometrical object are provided. The supportedmodifications are the following:conversion of BSpline and Bezier surfaces to analytical form,conversion of indirect elementary surfaces (with left-handedcoordinate systems) into direct ones,conversion of elementary surfaces to surfaces of revolution,conversion of surface of linear extrusion, revolution, offsetsurface to bspline,modification of parameterization, degree, number of segments of bsplinesurfaces, scale the shape.</p>
<dl class="class">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline">
<em class="property">class </em><code class="descname">Handle_ShapeCustom_ConvertToBSpline</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.ShapeCustom.Handle_ShapeCustom_Modification" title="OCC.ShapeCustom.Handle_ShapeCustom_Modification"><code class="xref py py-class docutils literal"><span class="pre">OCC.ShapeCustom.Handle_ShapeCustom_Modification</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_ConvertToBSpline.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_DirectModification">
<em class="property">class </em><code class="descname">Handle_ShapeCustom_DirectModification</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_DirectModification" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.ShapeCustom.Handle_ShapeCustom_Modification" title="OCC.ShapeCustom.Handle_ShapeCustom_Modification"><code class="xref py py-class docutils literal"><span class="pre">OCC.ShapeCustom.Handle_ShapeCustom_Modification</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_DirectModification.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_Modification">
<em class="property">class </em><code class="descname">Handle_ShapeCustom_Modification</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_Modification" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.BRepTools.html#OCC.BRepTools.Handle_BRepTools_Modification" title="OCC.BRepTools.Handle_BRepTools_Modification"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepTools.Handle_BRepTools_Modification</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_Modification.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_Modification.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_Modification.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_Modification.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_Modification.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_Modification.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_Modification.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_Modification.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_Modification.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_Modification.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters">
<em class="property">class </em><code class="descname">Handle_ShapeCustom_RestrictionParameters</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.MMgt.html#OCC.MMgt.Handle_MMgt_TShared" title="OCC.MMgt.Handle_MMgt_TShared"><code class="xref py py-class docutils literal"><span class="pre">OCC.MMgt.Handle_MMgt_TShared</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_RestrictionParameters.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification">
<em class="property">class </em><code class="descname">Handle_ShapeCustom_TrsfModification</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.BRepTools.html#OCC.BRepTools.Handle_BRepTools_TrsfModification" title="OCC.BRepTools.Handle_BRepTools_TrsfModification"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepTools.Handle_BRepTools_TrsfModification</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.Handle_ShapeCustom_TrsfModification.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.ShapeCustom_ConvertToBSpline">
<em class="property">class </em><code class="descname">ShapeCustom_ConvertToBSpline</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_ConvertToBSpline" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.ShapeCustom.ShapeCustom_Modification" title="OCC.ShapeCustom.ShapeCustom_Modification"><code class="xref py py-class docutils literal"><span class="pre">OCC.ShapeCustom.ShapeCustom_Modification</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.SetExtrusionMode">
<code class="descname">SetExtrusionMode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.SetExtrusionMode" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets mode for convertion of Surfaces of Linear extrusion.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>extrMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.SetOffsetMode">
<code class="descname">SetOffsetMode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.SetOffsetMode" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets mode for convertion of Offset surfaces.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>offsetMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.SetPlaneMode">
<code class="descname">SetPlaneMode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.SetPlaneMode" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets mode for convertion of Plane surfaces.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>planeMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.SetRevolutionMode">
<code class="descname">SetRevolutionMode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.SetRevolutionMode" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets mode for convertion of Surfaces of Revolution.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>revolMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_ConvertToBSpline.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve">
<em class="property">class </em><code class="descname">ShapeCustom_Curve</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><strong>C</strong> (<em>Handle_Geom_Curve &amp;</em>) – </td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve.ConvertToPeriodic">
<code class="descname">ConvertToPeriodic</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve.ConvertToPeriodic" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Tries to convert the Curve to the Periodic form Returns the resulting curve Works only if the Curve is BSpline and is closed with Precision::Confusion() Else, or in case of failure, returns a Null Handle</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>substitute</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>preci</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – default value is -1</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.Geom.html#OCC.Geom.Handle_Geom_Curve" title="OCC.Geom.Handle_Geom_Curve">Handle_Geom_Curve</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve.Init">
<code class="descname">Init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve.Init" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>C</strong> (<em>Handle_Geom_Curve &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve2d">
<em class="property">class </em><code class="descname">ShapeCustom_Curve2d</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve2d.ConvertToLine2d">
<em class="property">static </em><code class="descname">ConvertToLine2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve2d.ConvertToLine2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Try to convert BSpline2d or Bezier2d to line 2d only if it is linear. Recalculate first and last parameters. Returns line2d or null curve2d.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theCurve</strong> (<em>Handle_Geom2d_Curve &amp;</em>) – </li>
<li><strong>theFirstIn</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>theLastIn</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>theTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>theNewFirst</strong> (<em>float &amp;</em>) – </li>
<li><strong>theNewLast</strong> (<em>float &amp;</em>) – </li>
<li><strong>theDeviation</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.Geom2d.html#OCC.Geom2d.Handle_Geom2d_Line" title="OCC.Geom2d.Handle_Geom2d_Line">Handle_Geom2d_Line</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve2d.IsLinear">
<em class="property">static </em><code class="descname">IsLinear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve2d.IsLinear" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Check if poleses is in the plane with given precision Returns false if no.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>thePoles</strong> (<a class="reference internal" href="OCC.TColgp.html#OCC.TColgp.TColgp_Array1OfPnt2d" title="OCC.TColgp.TColgp_Array1OfPnt2d"><em>TColgp_Array1OfPnt2d</em></a>) – </li>
<li><strong>theTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>theDeviation</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve2d.SimplifyBSpline2d">
<em class="property">static </em><code class="descname">SimplifyBSpline2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve2d.SimplifyBSpline2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Try to remove knots from bspline where local derivatives are the same. Remove knots with given precision. Returns false if Bsplien was not modified</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theBSpline2d</strong> (<em>Handle_Geom2d_BSplineCurve &amp;</em>) – </li>
<li><strong>theTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve2d_ConvertToLine2d">
<code class="descname">ShapeCustom_Curve2d_ConvertToLine2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve2d_ConvertToLine2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Try to convert BSpline2d or Bezier2d to line 2d only if it is linear. Recalculate first and last parameters. Returns line2d or null curve2d.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theCurve</strong> (<em>Handle_Geom2d_Curve &amp;</em>) – </li>
<li><strong>theFirstIn</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>theLastIn</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>theTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>theNewFirst</strong> (<em>float &amp;</em>) – </li>
<li><strong>theNewLast</strong> (<em>float &amp;</em>) – </li>
<li><strong>theDeviation</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.Geom2d.html#OCC.Geom2d.Handle_Geom2d_Line" title="OCC.Geom2d.Handle_Geom2d_Line">Handle_Geom2d_Line</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve2d_IsLinear">
<code class="descname">ShapeCustom_Curve2d_IsLinear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve2d_IsLinear" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Check if poleses is in the plane with given precision Returns false if no.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>thePoles</strong> (<a class="reference internal" href="OCC.TColgp.html#OCC.TColgp.TColgp_Array1OfPnt2d" title="OCC.TColgp.TColgp_Array1OfPnt2d"><em>TColgp_Array1OfPnt2d</em></a>) – </li>
<li><strong>theTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>theDeviation</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.ShapeCustom_Curve2d_SimplifyBSpline2d">
<code class="descname">ShapeCustom_Curve2d_SimplifyBSpline2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Curve2d_SimplifyBSpline2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Try to remove knots from bspline where local derivatives are the same. Remove knots with given precision. Returns false if Bsplien was not modified</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theBSpline2d</strong> (<em>Handle_Geom2d_BSplineCurve &amp;</em>) – </li>
<li><strong>theTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.ShapeCustom_DirectModification">
<em class="property">class </em><code class="descname">ShapeCustom_DirectModification</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_DirectModification" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.ShapeCustom.ShapeCustom_Modification" title="OCC.ShapeCustom.ShapeCustom_Modification"><code class="xref py py-class docutils literal"><span class="pre">OCC.ShapeCustom.ShapeCustom_Modification</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_DirectModification.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_DirectModification.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.ShapeCustom_DirectModification.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_DirectModification.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.ShapeCustom_Modification">
<em class="property">class </em><code class="descname">ShapeCustom_Modification</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Modification" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.BRepTools.html#OCC.BRepTools.BRepTools_Modification" title="OCC.BRepTools.BRepTools_Modification"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepTools.BRepTools_Modification</span></code></a></p>
<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Modification.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Modification.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Modification.MsgRegistrator">
<code class="descname">MsgRegistrator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Modification.MsgRegistrator" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns message registrator</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.ShapeExtend.html#OCC.ShapeExtend.Handle_ShapeExtend_BasicMsgRegistrator" title="OCC.ShapeExtend.Handle_ShapeExtend_BasicMsgRegistrator">Handle_ShapeExtend_BasicMsgRegistrator</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Modification.SendMsg">
<code class="descname">SendMsg</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Modification.SendMsg" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sends a message to be attached to the shape. Calls corresponding message of message registrator.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>shape</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>message</strong> (<em>Message_Msg &amp;</em>) – </li>
<li><strong>gravity</strong> (<em>Message_Gravity</em>) – default value is Message_Info</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Modification.SetMsgRegistrator">
<code class="descname">SetMsgRegistrator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Modification.SetMsgRegistrator" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets message registrator</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>msgreg</strong> (<em>Handle_ShapeExtend_BasicMsgRegistrator &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">void</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.ShapeCustom_Modification.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Modification.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters">
<em class="property">class </em><code class="descname">ShapeCustom_RestrictionParameters</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.MMgt.html#OCC.MMgt.MMgt_TShared" title="OCC.MMgt.MMgt_TShared"><code class="xref py py-class docutils literal"><span class="pre">OCC.MMgt.MMgt_TShared</span></code></a></p>
<ul class="simple">
<li>Sets default parameters.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertBezierSurf">
<code class="descname">GetConvertBezierSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertBezierSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertBezierSurf(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertConicalSurf">
<code class="descname">GetConvertConicalSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertConicalSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertConicalSurf(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertCurve2d">
<code class="descname">GetConvertCurve2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertCurve2d" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertCurve2d(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertCurve3d">
<code class="descname">GetConvertCurve3d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertCurve3d" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertCurve3d(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertCylindricalSurf">
<code class="descname">GetConvertCylindricalSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertCylindricalSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertCylindricalSurf(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertExtrusionSurf">
<code class="descname">GetConvertExtrusionSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertExtrusionSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertExtrusionSurf(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertOffsetCurv2d">
<code class="descname">GetConvertOffsetCurv2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertOffsetCurv2d" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertOffsetCurv2d(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertOffsetCurv3d">
<code class="descname">GetConvertOffsetCurv3d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertOffsetCurv3d" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertOffsetCurv3d(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertOffsetSurf">
<code class="descname">GetConvertOffsetSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertOffsetSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertOffsetSurf(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertPlane">
<code class="descname">GetConvertPlane</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertPlane" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertPlane(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertRevolutionSurf">
<code class="descname">GetConvertRevolutionSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertRevolutionSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertRevolutionSurf(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertSphericalSurf">
<code class="descname">GetConvertSphericalSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertSphericalSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertSphericalSurf(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertToroidalSurf">
<code class="descname">GetConvertToroidalSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetConvertToroidalSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetConvertToroidalSurf(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetGMaxDegree">
<code class="descname">GetGMaxDegree</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetGMaxDegree" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetGMaxDegree(ShapeCustom_RestrictionParameters self) -&gt; Standard_Integer</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetGMaxSeg">
<code class="descname">GetGMaxSeg</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetGMaxSeg" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetGMaxSeg(ShapeCustom_RestrictionParameters self) -&gt; Standard_Integer</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetSegmentSurfaceMode">
<code class="descname">GetSegmentSurfaceMode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.GetSegmentSurfaceMode" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_GetSegmentSurfaceMode(ShapeCustom_RestrictionParameters self) -&gt; Standard_Boolean</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertBezierSurf">
<code class="descname">SetConvertBezierSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertBezierSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertBezierSurf(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertConicalSurf">
<code class="descname">SetConvertConicalSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertConicalSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertConicalSurf(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertCurve2d">
<code class="descname">SetConvertCurve2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertCurve2d" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertCurve2d(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertCurve3d">
<code class="descname">SetConvertCurve3d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertCurve3d" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertCurve3d(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertCylindricalSurf">
<code class="descname">SetConvertCylindricalSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertCylindricalSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertCylindricalSurf(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertExtrusionSurf">
<code class="descname">SetConvertExtrusionSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertExtrusionSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertExtrusionSurf(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertOffsetCurv2d">
<code class="descname">SetConvertOffsetCurv2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertOffsetCurv2d" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertOffsetCurv2d(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertOffsetCurv3d">
<code class="descname">SetConvertOffsetCurv3d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertOffsetCurv3d" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertOffsetCurv3d(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertOffsetSurf">
<code class="descname">SetConvertOffsetSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertOffsetSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertOffsetSurf(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertPlane">
<code class="descname">SetConvertPlane</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertPlane" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertPlane(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertRevolutionSurf">
<code class="descname">SetConvertRevolutionSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertRevolutionSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertRevolutionSurf(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertSphericalSurf">
<code class="descname">SetConvertSphericalSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertSphericalSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertSphericalSurf(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertToroidalSurf">
<code class="descname">SetConvertToroidalSurf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetConvertToroidalSurf" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetConvertToroidalSurf(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetGMaxDegree">
<code class="descname">SetGMaxDegree</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetGMaxDegree" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetGMaxDegree(ShapeCustom_RestrictionParameters self, Standard_Integer value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetGMaxSeg">
<code class="descname">SetGMaxSeg</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetGMaxSeg" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetGMaxSeg(ShapeCustom_RestrictionParameters self, Standard_Integer value)</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetSegmentSurfaceMode">
<code class="descname">SetSegmentSurfaceMode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.SetSegmentSurfaceMode" title="Permalink to this definition">¶</a></dt>
<dd><p>ShapeCustom_RestrictionParameters_SetSegmentSurfaceMode(ShapeCustom_RestrictionParameters self, Standard_Boolean value)</p>
</dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.ShapeCustom_RestrictionParameters.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_RestrictionParameters.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.ShapeCustom_Surface">
<em class="property">class </em><code class="descname">ShapeCustom_Surface</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Surface" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>Handle_Geom_Surface &amp;</em>) – </td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Surface.ConvertToAnalytical">
<code class="descname">ConvertToAnalytical</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Surface.ConvertToAnalytical" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Tries to convert the Surface to an Analytic form Returns the result Works only if the Surface is BSpline or Bezier. Else, or in case of failure, returns a Null Handle //! If &lt;substitute&gt; is True, the new surface replaces the actual one in &lt;self&gt; //! It works by analysing the case which can apply, creating the corresponding analytic surface, then checking coincidence Warning: Parameter laws are not kept, hence PCurves should be redone</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>tol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>substitute</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.Geom.html#OCC.Geom.Handle_Geom_Surface" title="OCC.Geom.Handle_Geom_Surface">Handle_Geom_Surface</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Surface.ConvertToPeriodic">
<code class="descname">ConvertToPeriodic</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Surface.ConvertToPeriodic" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Tries to convert the Surface to the Periodic form Returns the resulting surface Works only if the Surface is BSpline and is closed with Precision::Confusion() Else, or in case of failure, returns a Null Handle</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>substitute</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>preci</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – default value is -1</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.Geom.html#OCC.Geom.Handle_Geom_Surface" title="OCC.Geom.Handle_Geom_Surface">Handle_Geom_Surface</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Surface.Gap">
<code class="descname">Gap</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Surface.Gap" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns maximal deviation of converted surface from the original one computed by last call to ConvertToAnalytical</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_Surface.Init">
<code class="descname">Init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Surface.Init" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>Handle_Geom_Surface &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.ShapeCustom_Surface.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_Surface.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.ShapeCustom_TrsfModification">
<em class="property">class </em><code class="descname">ShapeCustom_TrsfModification</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_TrsfModification" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.BRepTools.html#OCC.BRepTools.BRepTools_TrsfModification" title="OCC.BRepTools.BRepTools_TrsfModification"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepTools.BRepTools_TrsfModification</span></code></a></p>
<ul class="simple">
<li>Empty constructor</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="OCC.gp.html#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.ShapeCustom.ShapeCustom_TrsfModification.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_TrsfModification.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.ShapeCustom_TrsfModification.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.ShapeCustom_TrsfModification.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.SwigPyIterator">
<em class="property">class </em><code class="descname">SwigPyIterator</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.advance">
<code class="descname">advance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.advance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.copy">
<code class="descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.copy" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.decr">
<code class="descname">decr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.decr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.distance">
<code class="descname">distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.distance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.equal">
<code class="descname">equal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.equal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.incr">
<code class="descname">incr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.incr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.next">
<code class="descname">next</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.next" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.previous">
<code class="descname">previous</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.previous" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.SwigPyIterator.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

<dl class="method">
<dt id="OCC.ShapeCustom.SwigPyIterator.value">
<code class="descname">value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.SwigPyIterator.value" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.new_instancemethod">
<code class="descname">new_instancemethod</code><span class="sig-paren">(</span><em>func</em>, <em>inst</em>, <em>cls</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.new_instancemethod" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.register_handle">
<code class="descname">register_handle</code><span class="sig-paren">(</span><em>handle</em>, <em>base_object</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.register_handle" title="Permalink to this definition">¶</a></dt>
<dd><p>Inserts the handle into the base object to
prevent memory corruption in certain cases</p>
</dd></dl>

<dl class="class">
<dt id="OCC.ShapeCustom.shapecustom">
<em class="property">class </em><code class="descname">shapecustom</code><a class="headerlink" href="#OCC.ShapeCustom.shapecustom" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.ShapeCustom.shapecustom.ApplyModifier">
<em class="property">static </em><code class="descname">ApplyModifier</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom.ApplyModifier" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies modifier to shape and checks sharing in the case assemblies.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>M</strong> (<em>Handle_BRepTools_Modification &amp;</em>) – </li>
<li><strong>context</strong> (<em>TopTools_DataMapOfShapeShape &amp;</em>) – </li>
<li><strong>MD</strong> (<em>BRepTools_Modifier &amp;</em>) – </li>
<li><strong>aProgress</strong> (<em>Handle_Message_ProgressIndicator &amp;</em>) – default value is NULL</li>
<li><strong>aReShape</strong> (<em>Handle_ShapeBuild_ReShape &amp;</em>) – default value is NULL</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.ShapeCustom.shapecustom.BSplineRestriction">
<em class="property">static </em><code class="descname">BSplineRestriction</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom.BSplineRestriction" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape with all surfaces, curves and pcurves which type is BSpline/Bezier or based on them converted having Degree less than &lt;MaxDegree&gt; or number of spans less than &lt;NbMaxSegment&gt; in dependence on parameter priority &lt;Degree&gt;. &lt;GmaxDegree&gt; and &lt;GMaxSegments&gt; are maximum possible degree and number of spans correspondingly. These values will be used in those cases when approximation with specified parameters is impossible and one of GmaxDegree or GMaxSegments is selected in dependence on priority. Note that even if approximation is impossible with &lt;GMaxDegree&gt; then number of spans can exceed specified &lt;GMaxSegment&gt; &lt;Rational&gt; specifies if to convert Rational BSpline/Bezier into polynomial B-Spline. If flags ConvOffSurf,ConvOffCurve3d,ConvOffCurve2d are Standard_True there are means that Offset surfaces , Offset curves 3d and Offset curves 2d are converted to BSPline correspondingly.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>Tol3d</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>Tol2d</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>MaxDegree</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>MaxNbSegment</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>Continuity3d</strong> (<em>GeomAbs_Shape</em>) – </li>
<li><strong>Continuity2d</strong> (<em>GeomAbs_Shape</em>) – </li>
<li><strong>Degree</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>Rational</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>aParameters</strong> (<em>Handle_ShapeCustom_RestrictionParameters &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.ShapeCustom.shapecustom.ConvertToBSpline">
<em class="property">static </em><code class="descname">ConvertToBSpline</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom.ConvertToBSpline" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape with all surfaces of linear extrusion, revolution, offset, and planar surfaces converted according to flags to Geom_BSplineSurface (with same parameterisation).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>extrMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>revolMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>offsetMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>planeMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.ShapeCustom.shapecustom.ConvertToRevolution">
<em class="property">static </em><code class="descname">ConvertToRevolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom.ConvertToRevolution" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape with all elementary periodic surfaces converted to Geom_SurfaceOfRevolution</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.ShapeCustom.shapecustom.DirectFaces">
<em class="property">static </em><code class="descname">DirectFaces</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom.DirectFaces" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape without indirect surfaces.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.ShapeCustom.shapecustom.ScaleShape">
<em class="property">static </em><code class="descname">ScaleShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom.ScaleShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape which is scaled original</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>scale</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.ShapeCustom.shapecustom.SweptToElementary">
<em class="property">static </em><code class="descname">SweptToElementary</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom.SweptToElementary" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape with all surfaces of revolution and linear extrusion convert to elementary periodic surfaces</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.ShapeCustom.shapecustom.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.ShapeCustom.shapecustom.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.shapecustom_ApplyModifier">
<code class="descname">shapecustom_ApplyModifier</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom_ApplyModifier" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies modifier to shape and checks sharing in the case assemblies.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>M</strong> (<em>Handle_BRepTools_Modification &amp;</em>) – </li>
<li><strong>context</strong> (<em>TopTools_DataMapOfShapeShape &amp;</em>) – </li>
<li><strong>MD</strong> (<em>BRepTools_Modifier &amp;</em>) – </li>
<li><strong>aProgress</strong> (<em>Handle_Message_ProgressIndicator &amp;</em>) – default value is NULL</li>
<li><strong>aReShape</strong> (<em>Handle_ShapeBuild_ReShape &amp;</em>) – default value is NULL</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.shapecustom_BSplineRestriction">
<code class="descname">shapecustom_BSplineRestriction</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom_BSplineRestriction" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape with all surfaces, curves and pcurves which type is BSpline/Bezier or based on them converted having Degree less than &lt;MaxDegree&gt; or number of spans less than &lt;NbMaxSegment&gt; in dependence on parameter priority &lt;Degree&gt;. &lt;GmaxDegree&gt; and &lt;GMaxSegments&gt; are maximum possible degree and number of spans correspondingly. These values will be used in those cases when approximation with specified parameters is impossible and one of GmaxDegree or GMaxSegments is selected in dependence on priority. Note that even if approximation is impossible with &lt;GMaxDegree&gt; then number of spans can exceed specified &lt;GMaxSegment&gt; &lt;Rational&gt; specifies if to convert Rational BSpline/Bezier into polynomial B-Spline. If flags ConvOffSurf,ConvOffCurve3d,ConvOffCurve2d are Standard_True there are means that Offset surfaces , Offset curves 3d and Offset curves 2d are converted to BSPline correspondingly.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>Tol3d</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>Tol2d</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>MaxDegree</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>MaxNbSegment</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>Continuity3d</strong> (<em>GeomAbs_Shape</em>) – </li>
<li><strong>Continuity2d</strong> (<em>GeomAbs_Shape</em>) – </li>
<li><strong>Degree</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>Rational</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>aParameters</strong> (<em>Handle_ShapeCustom_RestrictionParameters &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.shapecustom_ConvertToBSpline">
<code class="descname">shapecustom_ConvertToBSpline</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom_ConvertToBSpline" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape with all surfaces of linear extrusion, revolution, offset, and planar surfaces converted according to flags to Geom_BSplineSurface (with same parameterisation).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>extrMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>revolMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>offsetMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>planeMode</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.shapecustom_ConvertToRevolution">
<code class="descname">shapecustom_ConvertToRevolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom_ConvertToRevolution" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape with all elementary periodic surfaces converted to Geom_SurfaceOfRevolution</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.shapecustom_DirectFaces">
<code class="descname">shapecustom_DirectFaces</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom_DirectFaces" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape without indirect surfaces.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.shapecustom_ScaleShape">
<code class="descname">shapecustom_ScaleShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom_ScaleShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape which is scaled original</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>scale</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.ShapeCustom.shapecustom_SweptToElementary">
<code class="descname">shapecustom_SweptToElementary</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.ShapeCustom.shapecustom_SweptToElementary" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a new shape with all surfaces of revolution and linear extrusion convert to elementary periodic surfaces</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

</div>


           </div>
           <div class="articleComments">
            
           </div>
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2017, Thomas Paviot.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'0.18',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true,
            SOURCELINK_SUFFIX: '.txt'
        };
    </script>
      <script type="text/javascript" src="static/jquery.js"></script>
      <script type="text/javascript" src="static/underscore.js"></script>
      <script type="text/javascript" src="static/doctools.js"></script>

  

  
  
    <script type="text/javascript" src="static/js/theme.js"></script>
  

  
  
  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.StickyNav.enable();
      });
  </script>
   

</body>
</html>